home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 12 / Cream of the Crop 12 (Part II) / Cream of the Crop 12 (Part II).iso / OS2 / VD08BIN.ZIP / usr / include / db / DBList.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-13  |  486 b   |  34 lines

  1. #ifndef _DBLIST_H_
  2. #define _DBLIST_H_
  3.  
  4. #ifndef _SIMPLE_LIST_H
  5. #include <util/SimpleList.h>
  6. #endif
  7.  
  8. #ifndef _DBFILE_H_
  9. #include "DBFile.h"
  10. #endif
  11.  
  12. #ifndef _DBRECORD_H_
  13. #include "DBRecord.h"
  14. #endif
  15.  
  16. @interface DBList : SimpleList
  17. {
  18.   DBFile *entity;
  19. }
  20.  
  21. - init;
  22. - initForEntity: (DBFile *) anEntity;
  23.  
  24. - fetchAllRecords: sender;
  25. - fetchUsingQualifier: aQualifier;
  26. - saveChanges: sender;
  27.  
  28. - setEntity: (DBFile *) anEntity;
  29. - (DBFile *) entity;
  30.  
  31. @end
  32.  
  33. #endif
  34.